package com.cy.service;

import com.cy.common.ResultResponse;
import com.cy.entity.Documents;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cy.entity.Users;
import com.cy.entity.vo.UserVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aleven
 * @since 2024-12-21
 */
public interface IDocumentsService extends IService<Documents> {

    //查询所有文档
    public List<Documents> FindAllDocuments() ;


    //根据条件查询文档
    public List<Documents> FindByCondition(Documents documents);


    //增加文档
    ResultResponse insertDocuments(@RequestBody Documents documents) throws Exception;


    //修改文档
    ResultResponse updateDocuments(@RequestBody Documents documents) throws Exception;


    //删除文档
    public int delDocuments(String DocumentID);

}
